function get_panoramio_pictures(){
	var minx = -38.82927765251523;
	var miny = -62.130520819919184;
	var maxx = -38.902522456789654;
	var maxy = -62.03027057577856;

	var myreq = new Ajax.Request(
		//"http://www.panoramio.com/map/get_panoramas.php?order=upload_date&set=public&from=0&to=20&minx="+minx+"&miny="+miny+"&maxx="+maxx+"&maxy="+maxy+"&size=small",
		"http://www.panoramio.com/map/get_panoramas.php",
		{
			//asynchronous:true,
			method: "get",
	        parameters:  {
						'order': 'upload_date',
						'set':'public',
						'from':0,
						'to':20,
						'minx':minx,
						'miny':miny,
						'maxx':maxx,
						'maxy':maxy,
						'size':'small'
	                     },
			//contentType: 'application/json',
			//requestHeaders: {Accept: 'application/json'},
		
			onSuccess: function(transport){
				var json = transport.responseText.evalJSON(true);
			},
			
			//contentType:"application/json",
			onComplete: function(transport) {			
				var json = transport.responseText.evalJSON();
				//var transppp = transport.responseJSON;
				//var transpheadr = transport.headerJSON;

			},
			onFailure: function(request) {
				alert("Failure connect panoramio");
				return true;
			},
			onException: function(req,exception) {
				alert(req +": The request had a fatal exception thrown in pictures of panoramio.\n\n" + exception);
			return true;
			}
		}
	);	
	
	//console.debug(myreq);
}